package DT2;

public class B extends A{
    private int num = 10;
    @Override
    public void func() {
        System.out.println("类B中重写过的方法func():"+num);
    }
}
